<%-- 
    Document   : consultarIngresos
    Created on : 8/06/2013, 06:04:31 PM
    Author     : AlEjAnDrA
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Consultar Ingresos</title>
    </head>
    <body>
        <h1>Ingresos del Inmueble</h1>
        
        <table>
            <tr>
                <th>
                    <strong>Id Reserva</strong> 
                </th>
                <th>
                    <strong>Fecha Llegada</strong>
                </th>
                <th>
                    <strong>Fecha Salida</strong>
                </th>
                <th>
                    <strong>Precio</strong>
                </th>
            </tr>
            <c:forEach items ="${reservas}" var="in">
            <tr>    
                <td><c:out value="${in.idReserva}"> </c:out></td>
                <td><c:out value="${in.fechaLlegada}"> </c:out></td>
                <td><c:out value="${in.fechaSalida}"> </c:out></td>
                <td><c:out value="${in.precio}"> </c:out></td>
            </tr>
               </c:forEach>
          
        </table>
    </body>
</html>
